/*
 * @Description: page name
 * @Author: Huang Junjie
 * @Date: 2021-04-22 13:52:51
 * @LastEditTime: 2021-05-10 14:44:24
 * @LastEditors: Huang Junjie
 */
import request from '@/utils/request';

// 查询单位列表
export function getUnitList() {
  return request({
    url: `/jjxtapi/dept/findAllUnitDeptList`,
    method: 'get'
  });
}

// 列表查询
export function getDataList() {
  return request({
    url: `/jjxt/bureauSafeDayConfig/`,
    method: 'get'
  });
}

// 批量更新
export function updateDataList(data) {
  return request({
    url: `/jjxt/bureauSafeDayConfig/`,
    method: 'post',
    data
  });
}

// 批量删除
export function deleteData(data) {
  return request({
    url: `/jjxt/bureauSafeDayConfig/deleteFlagByIds`,
    method: 'post',
    data
  });
}

// 排序移动
export function sortMoveData(data) {
  return request({
    url: `/jjxt/bureauSafeDayConfig/move`,
    method: 'post',
    data
  });
}
